package common.entities
{
	import framework.BaseVO;

	[RemoteClass(alias="com.base.core.framework.Page")]
	[Bindable]
	public class Page extends BaseVO
	{
		public var currentPage:uint = 1;
		public var recordTotal:Number = 0;
		public var recordPerPage:uint = 20;
		public var orderBy:String;
		public var order:String = "asc";
		public var autoCount:Boolean = true;
		
		public function get pageTotal():uint
		{
			return Math.ceil(recordTotal/recordPerPage);
		}
		public function set pageTotal(p_page:uint):void
		{
		}
	}
}